Skip to content

Formatter uses stdin instead of filepath #46

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Dec 31, 2024

Conversation

asafflesch
Copy link
Contributor

In the current version, at least on Nvim and OSX, .clang-format in the root of the repo was being ignored because clang-format looks for a config file relative to the source file, not the working directory.

This change allows .clang-format in the root of a workspace to be properly picked up with the addition of the assume-filename flag.

In the current version, at least on Nvim and OSX, .clang-format in the
root of the repo was being ignored because clang-format looks for a
config file relative to the source file, not the working directory.

This change allows .clang-format in the root of a workspace to be properly picked up
with the addition of the assume-filename flag.
@coder3101
Copy link
Owner

Thank you!

@coder3101 coder3101 merged commit d867b1b into coder3101:main Dec 31, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants